package com.library.bookmanagement.entity;

import io.swagger.models.auth.In;

import java.io.Serializable;

/**
 * @author ：ZXM
 * @date ：Created in 2020/5/16 8:51
 * @description：登录类
 */

public class LoginUser implements Serializable {
    private String  username;
    private String password;
    private Integer role;
    private Integer rememberMe;

    public Integer getRememberMe() {
        return rememberMe;
    }

    public void setRememberMe(Integer rememberMe) {
        this.rememberMe = rememberMe;
    }
    // 用户注册的情况
    private String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public LoginUser() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }
}
